﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoyoEden.Models;

namespace CoyoEden.Services
{
    public interface IAlbumService
    {
        /// <summary>
        /// Retrieves a Album from the provider based on the specified id.
        /// </summary>
        Album SelectAlbum(int id);
        /// <summary>
        /// Inserts a new Album into the data store specified by the provider.
        /// </summary>
        void InsertAlbum(Album album);
        /// <summary>
        /// Updates an existing Album in the data store specified by the provider.
        /// </summary>
        void UpdateAlbum(Album album);
        /// <summary>
        /// Deletes a Album from the data store specified by the provider.
        /// </summary>
        void DeleteAlbum(Album album);
        /// <summary>
        /// Retrieves all Albums from the provider and returns them in a List.
        /// </summary>
        List<Album> FillAlbums();
    }
}
